package com.xian.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 继承人管理对象 tb_handmade_person
 * 
 * @author Hanys
 * @date 2025-04-01
 */
public class HandmadePerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 传承人姓名 */
    @Excel(name = "传承人姓名")
    private String name;

    /** 传承人照片 */
    @Excel(name = "传承人照片")
    private String image;

    /** 传承级别 */
    @Excel(name = "传承级别")
    private String level;

    /** 传承物类型 */
    @Excel(name = "传承物类型")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("image", getImage())
            .append("level", getLevel())
            .append("type", getType())
            .toString();
    }
}
